package com.newasia.search.dal.entitys;

import com.alibaba.fastjson.JSON;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SkuKey implements Serializable {

    private Long sku_id;

    private Long spu_id;

    private String sku_image;

    private String sku_key;

    public String getSku_image() {
        String image = JSON.parseArray(sku_image,String.class).get(0);
        return image;
    }

    public void setSku_image(String sku_image) {
        this.sku_image = sku_image;
    }
}
